<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>游戏房间</title>
    <link rel="stylesheet" href="css/common.css">
    <link rel="stylesheet" href="css/game_room.css">
    <link rel="stylesheet" href="css/chat.css">
</head>
<body>
    <div class="nav">五子棋对战</div>
    <div class="container">
        <div>
            <!-- 棋盘区域, 需要基于 canvas 进行实现 -->
            <canvas id="chess" width="450px" height="450px">

            </canvas>
            <!-- 显示区域 -->
            <div id="screen"> 等待玩家连接中... </div>
            <div><button id="backButton">退出游戏，重新匹配</button></div>
        </div>
    </div>

<!--    加入聊天消息界面-->
    <div class="chat-container">
        <div class="chat-display" id="chat-display">
            <!-- 这里是消息显示区域 -->
            消息显示区域...
        </div>
<!--        <div class="chat-input">-->
<!--            <input type="text" id="message-input" placeholder="输入消息...">-->
<!--            <button class="send-button" id="send-message">发送</button>-->
<!--        </div>-->
        <div class="chat-input">
            <textarea id="message-input" placeholder="输入消息..."></textarea>
            <button class="send-button" id="send-message">发送</button>
        </div>
    </div>

    <script src="js/jquery.min.js"></script>
    <script src="js/script.js"></script>
    <script src="js/chat.js"></script>
</body>
</html>